package org.example.studentsystem_back.service;

import jakarta.servlet.http.HttpServletRequest;
import org.example.studentsystem_back.common.CommonResponse;
import org.example.studentsystem_back.domain.Leaders;
import com.baomidou.mybatisplus.extension.service.IService;
import org.example.studentsystem_back.vo.leaderMangeVo.LeaderVo;
import org.example.studentsystem_back.vo.userManageVo.PageLeaderVo;

import java.util.List;

/**
* @author 马鑫
* @description 针对表【leaders】的数据库操作Service
* @createDate 2024-07-10 13:50:19
*/
public interface LeadersService extends IService<Leaders> {
    CommonResponse<PageLeaderVo> getLeaders(int page, int limit);
    CommonResponse<LeaderVo> getLeaderOne(String userid);
    CommonResponse<LeaderVo> insertLeaders(LeaderVo leaderVo);
    CommonResponse<Leaders> updateLeaders(Leaders leaders);
    CommonResponse<Leaders> deleteLeaders(String id);
    CommonResponse<LeaderVo> getCurrentLeader(HttpServletRequest httpServletRequest);
}
